package com.ljf.tijian.AI;

import com.ljf.tijian.AI.aiservice.LocalAiServiceImpl;
import org.springframework.ai.ollama.OllamaChatModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DeepSeekService implements LocalAiServiceImpl {


    @Autowired
    OllamaChatModel ollamaChatModel;

//    String url ="http://localhost:11434/api/chat";

    @Override
    public String call(String message) {

        return ollamaChatModel.call(message);
    }

}
